package org.hcd.com.config;

import org.springframework.cloud.gateway.route.RouteLocator;
import org.springframework.cloud.gateway.route.builder.RouteLocatorBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class GateWayRouteConfig {

/*    @Bean
    public RouteLocator customRouteLocator(RouteLocatorBuilder builder) {
        return builder.routes()
                .route("easy-order", r -> r.path("/order/**")
                        .uri("http://localhost:9002/"))
                .route("server-product", r -> r.path("/product/**")
                        .uri("lb://demo-product"))
                .build();
    }*/
}
